package org.feiye.studyday25;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;

public class BufferedReaderTest {
	public static void main(String[] args) throws IOException {
		FileInputStream f = new FileInputStream("F:\\叶飞io测试\\1.Java语言基础\\java_homework\\JavaOOP\\6-11-类和对象-作业.txt");
		InputStreamReader i = new InputStreamReader(f, "gbk");
		BufferedReader b = new BufferedReader(i);
		String line = null;
		while ((line = b.readLine()) != null) {
			System.out.println(line);
		}
		b.close();
	}
}
